#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam2.py
# author:柴运泽
# datetime:2022-02-06 17:13
# software: PyCharm

"""
2 分别定义6种具有不同数据类型的变量并赋值，然后打印出这些变量的类型（使用type函数）；
"""

int_type = 123
print(type(int_type))
str_type = '123'
print(type(str_type))
li = [1, 'dnf', {'key': 'value'}]
print(type(li))
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36'
}
print(type(headers))
tu = (1, 2, "3")
print(type(tu))
set_type = {1, 3, 5, 7}
print(type(set_type))
